package com.zsh.service.impl;

import com.zsh.domain.UamUserMenu;
import com.zsh.mapper.MenuMapper;
import com.zsh.service.MenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MenuServiceImpl implements MenuService {

    @Autowired
    private MenuMapper menuMapper;

    @Override
    public List<UamUserMenu> queryMenu(String userId) {
        return menuMapper.queryMenu(userId);
    }
}